package cn.com.api.mapper;

import java.security.PublicKey;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import cn.com.api.entity.ApiU_org;
import cn.com.api.mapper.base.U_orgMapperBase;

//DAO
public interface ApiU_orgMapper extends U_orgMapperBase {

	public List<ApiU_org> findU_orgsByMap(@Param("map") Map map);

	// 随机获取一条记录，后面改成轮询
	public ApiU_org findU_orgsByCircle();

	public ApiU_org getRandomOrg();
}
